package org.NooLab.itexx.stuctures;

import java.io.Serializable;
import java.util.ArrayList;




public class RequestFocusSpec 	implements
											Serializable{
	
	ArrayList<String> mandatoryItems = new ArrayList<String>(); 
	ArrayList<String> normalItems = new ArrayList<String>(); 
	ArrayList<String> excludingItems = new ArrayList<String>(); 

	// ------------------------------------------------------------------------
	public RequestFocusSpec(){
		
	}
	
	/** for cloning the content lists */
	public RequestFocusSpec(RequestFocusSpec rf) {
		
		if ((rf.normalItems!=null) && (rf.normalItems.size()>0)){
			normalItems.addAll( rf.normalItems ) ;
		}
		
		if ((rf.mandatoryItems!=null) && (rf.mandatoryItems.size()>0)){
			mandatoryItems.addAll( rf.mandatoryItems ) ;
		}

		if ((rf.excludingItems!=null) && (rf.excludingItems.size()>0)){
			excludingItems.addAll( rf.excludingItems ) ;
		}

		
	}

	// ------------------------------------------------------------------------


	public ArrayList<String> getMandatoryItems() {
		return mandatoryItems;
	}

	public void setMandatoryItems(ArrayList<String> mandatoryItems) {
		this.mandatoryItems = mandatoryItems;
	}

	public ArrayList<String> getNormalItems() {
		return normalItems;
	}

	public void setNormalItems(ArrayList<String> normalItems) {
		this.normalItems = normalItems;
	}

	public ArrayList<String> getExcludingItems() {
		return excludingItems;
	}

	public void setExcludingItems(ArrayList<String> excludingItems) {
		this.excludingItems = excludingItems;
	}
	
	
	
	
}
